﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EBookStore.Payments
{
    public class PaymentFactory
    {

        public Payment CreateCheckPayment()
        {
            return new CheckPayment();
        }

        public Payment CreateCreditCardPayment()
        {
            return new CreditCardPayment();
        }
    }
}
